package com.liupengyuan.one.dao.impl;

import org.springframework.stereotype.Repository;

import com.liupengyuan.framework.dao.MybatisBaseGenericDAOImpl;
import com.liupengyuan.framework.util.GeneratorKey;
import com.liupengyuan.one.dao.TreeDao;
import com.liupengyuan.one.model.Tree;
@Repository("treeDao")
public class TreeDaoImpl extends MybatisBaseGenericDAOImpl<Tree> implements TreeDao {

	@Override
	public void generateId(Tree ob) {
		ob.setId(GeneratorKey.genaraId());
	}
	
}
